package chat.server.statemachine.election;

import chat.statemachine.AbstractContent;

/**
 * This class define the content of the token LEADER
 * @author Baptiste Lafontaine
 * @author Arsène Huot
 *
 */
public class ElectionLeaderContent extends AbstractContent implements InterfaceElectionContent {
	private static final long serialVersionUID = -443855860462118792L;
	
	private Integer content;
	private Integer sender;
	
	/**
	 * Constructor of a ElectionLeaderToken
	 * @param content Content of the token
	 * @param sender Who sent the token
	 */
	public ElectionLeaderContent(Integer content, Integer sender) {
		this.content = content;
		this.sender = sender;
	}
	
	public int getContent() {
		return content;
	}
	
	public int getSender() {
		return sender;
	}

}
